package com.oa.bean.work;

/*
 * 员工家庭联系人表
 */
public class Family {
	private int fid;// 主键id
	private int eid;// 员工id
	private String fname;// 员工家庭人员名称
	private String fjob;// 员工职位
	private String frelation;// 与本人关系
	private String ftel;// 联系人电话

	private Emp emp;// 每个家庭成员对应一个员工

	public Emp getEmp() {
		return emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}

	public Family() {
	}

	public Family(int fid, int eid, String fname, String fjob, String frelation, String ftel) {
		super();
		this.fid = fid;
		this.eid = eid;
		this.fname = fname;
		this.fjob = fjob;
		this.frelation = frelation;
		this.ftel = ftel;
	}

	public int getFid() {
		return fid;
	}

	public void setFid(int fid) {
		this.fid = fid;
	}

	public int getEid() {
		return eid;
	}

	public void setEid(int eid) {
		this.eid = eid;
	}

	public String getFname() {
		return fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public String getFjob() {
		return fjob;
	}

	public void setFjob(String fjob) {
		this.fjob = fjob;
	}

	public String getFrelation() {
		return frelation;
	}

	public void setFrelation(String frelation) {
		this.frelation = frelation;
	}

	public String getFtel() {
		return ftel;
	}

	public void setFtel(String ftel) {
		this.ftel = ftel;
	}

	@Override
	public String toString() {
		return "Family [fid=" + fid + ", eid=" + eid + ", fname=" + fname + ", fjob=" + fjob + ", frelation="
				+ frelation + ", ftel=" + ftel + "]";
	}

}
